package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * AED信息对象 sys_aed
 *
 * @author ruoyi
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("AED管理表")
public class SysAed extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "AED ID", required = true)
    private Long id;

    @Excel(name = "AED名称")
    @ApiModelProperty(value = "AED名称", required = true)
    private String aedName;

    @ApiModelProperty(value = "区域id")
    private Long areaId;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @Excel(name = "经度")
    @ApiModelProperty(value = "经度", required = true)
    private BigDecimal longitude;

    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度", required = true)
    private BigDecimal latitude;

    @Excel(name = "AED状态", readConverterExp = "0=正常,1=故障")
    @ApiModelProperty(value = "AED状态", required = true)
    private String status;
}